<div class="modal-dialog" role="document">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-bind="click: cancel" aria-hidden="true">
                <i class="icon-cancel"></i>
            </button>
            <h4 class="modal-title">Are you sure?</h4>
        </div>
        <div class="modal-body">
            <p data-bind="visible: documentIds().length === 1">
                <span>You are deleting</span>
                <strong data-bind="with: documentIds()[0]">
                    <span data-bind="text: $data"></span>
                </strong>
            </p>
            <div data-bind="visible: documentIds().length > 1">
                <span>You're deleting</span>
                <strong data-bind="text: documentIds().length"></strong>
                <span>docs:</span>
                <br />
                <ul data-bind="foreach: documentIds" style="max-height: 100px; overflow-y: auto;">
                    <li data-bind="text: $data"></li>
                </ul>
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-default" data-bind="click: cancel">Cancel</button>
            <button type="button" class="btn btn-primary" data-bind="click: deleteDocs">Delete</button>
        </div>
    </div>
</div>
